package ar.org.cfired.creditos.parametros;

public class Modo {
	private String mod_id;
	private String mod_descripcion;
	
	public void setModId (String mod_id) {
		if (mod_id != null)
			this.mod_id = mod_id.substring(0, Math.min(4, mod_id.length()));
		else
			this.mod_id = new String();
	}
	public String getModId() {
		return (this.mod_id);
	}

	public void setModDescripcion (String mod_descripcion) {
		if (mod_descripcion != null)
			this.mod_descripcion = mod_descripcion.substring(0, Math.min(50, mod_descripcion.length()));
		else
			this.mod_descripcion = new String();
	}
	public String getModDescripcion() {
		return (this.mod_descripcion);
	}
}
